package model;

import java.io.Serializable;

/**
 * Super class for the marker classes that shoot across the network to
 * communicate the status of the game between Server and Client. Mostly, these
 * classes don't need the Player field in ArenaAction.
 * 
 * @author Kevin Luikens
 * 
 */
@SuppressWarnings("serial")
public abstract class GameAdministration implements Serializable {
	private Player player;

	/**
	 * Initializes the shell class
	 */
	public GameAdministration() {
	}

	/**
	 * Sets the GameAdministration field to the Player specified
	 * @param p
	 */
	public GameAdministration(Player p) {
		player = p;
	}

	/**
	 * Returns the Player stored in a GameAdministration class
	 * @return Player
	 */
	public Player getPlayer() {
		return player;
	}
}
